import request from '@/utils/request'

// 查询活动级别列表
export function listActivityType(query) {
  return request({
    url: '/gxs/activityType/list',
    method: 'get',
    params: query
  })
}

// 查询活动级别详细
export function getActivityType(gxsActivityTypeid) {
  return request({
    url: '/gxs/activityType/' + gxsActivityTypeid,
    method: 'get'
  })
}

// 新增活动级别
export function addActivityType(data) {
  return request({
    url: '/gxs/activityType',
    method: 'post',
    data: data
  })
}

// 修改活动级别
export function updateActivityType(data) {
  return request({
    url: '/gxs/activityType',
    method: 'put',
    data: data
  })
}

// 删除活动级别
export function delActivityType(gxsActivityTypeid) {
  return request({
    url: '/gxs/activityType/' + gxsActivityTypeid,
    method: 'delete'
  })
}
